services.restic.backups.<name>.inhibitsSleep

Prevents the system from sleeping while backing up. This uses systemd-inhibit to block system idling so you may need to enable polkitd with security.polkit.enable.

This option is only supported on linux.

Type
boolean
Default
false
Example
true
Declared
<home-manager/modules/services/restic.nix>